package managesystem.manager;

import javax.swing.*;

/**
 * @author The setting sun
 * @version 1.0
 * @title: Manager
 * @description: TODO
 * @date 2021/12/2 16:09
 */
public class Manager {
    private int rid;
    private String rname;
    private int rage;
    private String rsex;
    private String rnation;

    public Manager() {
    }

    public Manager(int rid, String rname, int rage, String rsex, String rnation) {
        this.rid = rid;
        this.rname = rname;
        this.rage = rage;
        this.rsex = rsex;
        this.rnation = rnation;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public int getRage() {
        return rage;
    }

    public void setRage(int rage) {
        this.rage = rage;
    }

    public String getRsex() {
        return rsex;
    }

    public void setRsex(String rsex) {
        this.rsex = rsex;
    }

    public String getRnation() {
        return rnation;
    }

    public void setRnation(String rnation) {
        this.rnation = rnation;
    }

    @Override
    public String toString() {
        return "Manager{" +
                "rid=" + rid +
                ", rname='" + rname + '\'' +
                ", rage=" + rage +
                ", rsex='" + rsex + '\'' +
                ", rnation='" + rnation + '\'' +
                '}';
    }
}
